import { createApp } from 'vue';
import App from './App.vue';
// import App from './App.jsx';
// import { store, key } from './storeVuex/module/moduleA';
import { store, key } from './storeVuex';
import { createPinia } from 'pinia';
import echartsConfig from '@/components/china-map/echartsConfig';
import router from './router';
import { installAntD } from './antd-import';
import { installMD } from './md-edit';
import '@/components/theme-cfig/index.less';
import '@/components/ant-theme/index.less';

const app = createApp(App);
app.provide('$echarts', echartsConfig);
installAntD(app);
installMD(app);
app
  .use(router)
  .use(store, key)
  .use(createPinia())
  .mount('#app');
